package com.jiaai.cloud.wx.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.jiaai.cloud.wx.entity.TWxgoods;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-22
 */
@Mapper
public interface TWxgoodsMapper extends BaseMapper<TWxgoods> {

    void insertBackGoodsid(TWxgoods tWxgoods);

    void insertShopGoods(@Param("shopid") Integer shopid, @Param("goodsid") Integer goodsid);

    void deleteShopGoods(Integer goodsid);

    void updateGoodsclass(Integer goodsclassid);

    List<Map> queryForMySuper(Integer userid, Page page);
}